package comparetor;

import java.util.Comparator;

import pojo.Customer;

public class CustomerComparetorById implements Comparator<Customer> {

	public int compare(Customer o1, Customer o2) {
		return o1.getId()-o2.getId();
	}
}
